<?

/*
Autor: Imanol Iglesias
email: imanolif@gmail.com
*/

class Email
{
	private $from;
	private $date;
	private $subject;
	private $body;
	
	public function __construct($from = '', $date = '', $subject = '', $body = '')
	{
		$this->from = $from;
		$this->date = $date;
		$this->subject = $subject;
		$this->body = $body;
	}
	
	public function getFrom()
	{
		return $this->from;
	}
	
	public function setFrom($from)
	{
		return $this->from = $from;
	}

	public function getDate()
	{
		return $this->date;
	}
	
	public function setDate($date)
	{
		return $this->date = $date;
	}	
	
	public function getSubject()
	{
		return $this->subject;
	}
	
	public function setSubject($subject)
	{
		return $this->subject = $subject;
	}

	public function getBody()
	{
		return $this->body;
	}
	
	public function setBody($body)
	{
		return $this->body = $body;
	}
}

?>